package com.ygqh.baby.mapper;

import com.ygqh.baby.po.YgUserTemplateMessageSetting;
import com.ygqh.baby.po.YgUserTemplateMessageSettingExample;
import com.ygqh.baby.ao.QueryInfo;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface YgUserTemplateMessageSettingMapper {

    int countByExample(YgUserTemplateMessageSettingExample example);

    int deleteByExample(YgUserTemplateMessageSettingExample example);

    int deleteByPrimaryKey(Long id);

    int insert(YgUserTemplateMessageSetting record);

    int insertSelective(YgUserTemplateMessageSetting record);

    List<YgUserTemplateMessageSetting> selectByExample(YgUserTemplateMessageSettingExample example);

    YgUserTemplateMessageSetting selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") YgUserTemplateMessageSetting record, @Param("example") YgUserTemplateMessageSettingExample example);

    int updateByExample(@Param("record") YgUserTemplateMessageSetting record, @Param("example") YgUserTemplateMessageSettingExample example);

    int updateByPrimaryKeySelective(YgUserTemplateMessageSetting record);

    int updateByPrimaryKey(YgUserTemplateMessageSetting record);
    
    int countSuper(@Param ("q") String q);
    
    List<YgUserTemplateMessageSetting> selectSuper(@Param("queryInfo") QueryInfo queryInfo, @Param ("q") String q);
    
}



